<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:if test="${sessionScope.PEDIDO.qtdeCat1Item1>0 }">
<BR>${sessionScope.PEDIDO.qtdeCat1Item1} x ${sessionScope.cat1 }/${sessionScope.cat1item1 }
</c:if>
<c:if test="${sessionScope.PEDIDO.qtdeCat1Item2>0 }">
<BR>${sessionScope.PEDIDO.qtdeCat1Item2} x ${sessionScope.cat1 }/${sessionScope.cat1item2 }
</c:if>
<c:if test="${sessionScope.PEDIDO.qtdeCat1Item3>0 }">
<BR>${sessionScope.PEDIDO.qtdeCat1Item3} x ${sessionScope.cat1 }/${sessionScope.cat1item3 }
</c:if>
<c:if test="${sessionScope.PEDIDO.qtdeCat1Item4>0 }">
<BR>${sessionScope.PEDIDO.qtdeCat1Item4} x ${sessionScope.cat1 }/${sessionScope.cat1item4 }
</c:if>
<c:if test="${sessionScope.PEDIDO.qtdeCat1Item5>0 }">
<BR>${sessionScope.PEDIDO.qtdeCat1Item5} x ${sessionScope.cat1 }/${sessionScope.cat1item5 }
</c:if>
<c:if test="${sessionScope.PEDIDO.qtdeCat2Item1>0 }">
<BR>${sessionScope.PEDIDO.qtdeCat2Item1} x ${sessionScope.cat2 }/${sessionScope.cat2item1 }
</c:if>
<c:if test="${sessionScope.PEDIDO.qtdeCat2Item2>0 }">
<BR>${sessionScope.PEDIDO.qtdeCat2Item2} x ${sessionScope.cat2 }/${sessionScope.cat2item2 }
</c:if>
<c:if test="${sessionScope.PEDIDO.qtdeCat2Item3>0 }">
<BR>${sessionScope.PEDIDO.qtdeCat2Item3} x ${sessionScope.cat2 }/${sessionScope.cat2item3 }
</c:if>
<c:if test="${sessionScope.PEDIDO.qtdeCat2Item4>0 }">
<BR>${sessionScope.PEDIDO.qtdeCat2Item4} x ${sessionScope.cat2 }/${sessionScope.cat2item4 }
</c:if>
<c:if test="${sessionScope.PEDIDO.qtdeCat2Item5>0 }">
<BR>${sessionScope.PEDIDO.qtdeCat2Item5} x ${sessionScope.cat2 }/${sessionScope.cat2item5 }
</c:if>
<c:if test="${sessionScope.PEDIDO.qtdeCat3Item1>0 }">
<BR>${sessionScope.PEDIDO.qtdeCat3Item1} x ${sessionScope.cat3 }/${sessionScope.cat3item1 }
</c:if>
<c:if test="${sessionScope.PEDIDO.qtdeCat3Item2>0 }">
<BR>${sessionScope.PEDIDO.qtdeCat3Item2} x ${sessionScope.cat3 }/${sessionScope.cat3item2 }
</c:if>
<c:if test="${sessionScope.PEDIDO.qtdeCat3Item3>0 }">
<BR>${sessionScope.PEDIDO.qtdeCat3Item3} x ${sessionScope.cat3 }/${sessionScope.cat3item3 }
</c:if>
<c:if test="${sessionScope.PEDIDO.qtdeCat3Item4>0 }">
<BR>${sessionScope.PEDIDO.qtdeCat3Item4} x ${sessionScope.cat3 }/${sessionScope.cat3item4 }
</c:if>
<c:if test="${sessionScope.PEDIDO.qtdeCat3Item5>0 }">
<BR>${sessionScope.PEDIDO.qtdeCat3Item5} x ${sessionScope.cat3 }/${sessionScope.cat3item5 }
</c:if>

<c:set var="total" value="${sessionScope.PEDIDO.qtdeCat1Item1+
sessionScope.PEDIDO.qtdeCat1Item2+
sessionScope.PEDIDO.qtdeCat1Item3+
sessionScope.PEDIDO.qtdeCat1Item4+
sessionScope.PEDIDO.qtdeCat1Item5+
sessionScope.PEDIDO.qtdeCat2Item1+
sessionScope.PEDIDO.qtdeCat2Item2+
sessionScope.PEDIDO.qtdeCat2Item3+
sessionScope.PEDIDO.qtdeCat2Item4+
sessionScope.PEDIDO.qtdeCat2Item5+
sessionScope.PEDIDO.qtdeCat3Item1+
sessionScope.PEDIDO.qtdeCat3Item2+
sessionScope.PEDIDO.qtdeCat3Item3+
sessionScope.PEDIDO.qtdeCat3Item4+
sessionScope.PEDIDO.qtdeCat3Item5}"/>


<c:if test="${total>0 }">
<c:if test="${sessionScope.PRINT=='N' }">
<BR>---------------------------------------------
</c:if>
<c:if test="${sessionScope.PRINT=='S' }">
<BR>---------------------
</c:if>

<BR>Total: ${total }<c:if test="${total>1 }"> Itens</c:if><c:if test="${total==1 }"> Item</c:if>
</c:if>

